﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using N1;   // 引入N1命名空间;

namespace CH1_3
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("CH1_3");
            ClassA classA = new ClassA();   // 实例化ClassA为classA;
            classA.Func1();                 // 调用classA的Func1函数;
            Console.Read();
        }
    }
}

namespace N1
{
    class ClassA
    {
        public void Func1()
        {
            Console.WriteLine("This is Func1");
        }
    }
}
